package com.gy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gy.entity.result.CopyRight;
import com.gy.result.Result;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CopyRightMapper extends BaseMapper<CopyRight> {
    CopyRight selectCopyrightById(Long id);

    int updateCopyright(CopyRight copyRight);

    boolean saveCopyright(CopyRight copyRight);

    List<CopyRight> selectCopyrightBatchIds(List<Long> list);
}
